After inserting a Java applet, use the Property inspector to set parameters. Double-click a Java applet to view its properties in the Property inspector.
See also Shockwave, ActiveX, Java, and Netscape plugins overview.
The Property inspector initially displays the most commonly used properties. Click the expander arrow in the lower right corner to see all properties.
Applet is a name you enter to identify the applet for scripting. You can enter any name you like.
W and H specifies the width and height of the applet in pixels. You can also specify the following units: pc (picas), pt (points), in (inches), mm (millimeters), cm (centimeters), or % (percentage of the parent's value). The abbreviations must follow the value without a space, for example, 3mm.
Code specifies the content file of the applet. Enter a file name, or click the folder icon and choose a file.
Base identifies the folder containing the selected applet. When you choose an applet, this field is filled automatically.
Align determines how the object is aligned on the page. See Alignment options for a description of each option.
Alt specifies alternate content (usually an image) to be displayed if the user's browser doesn't support Java applets, or has disabled Java. If you type in text, Dreamweaver renders the text with the ALT
attribute of the APPLET
tag. If you choose an image, Dreamweaver insert an IMG
tag between the opening and closing APPLET
tags.
Note: To specify alternate content for both Netscape (with JavaScript off), and Lynx (a text-based browser), choose an image and then manually add some ALT
text to the IMG
tag in the HTML inspector.
V Space and H Space specify the amount of white space in pixels above, below, and on either side of the applet.
Parameters opens a dialog box with which you can enter additional parameters to pass to the applet. Many applets respond to special parameters.